-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
made the init integration docs more obvious #784
Conversation
Can one of the admins verify this patch?
|
docs/manual/adapting-existing.md
Outdated
deployment's `/sysroot` to the physical `/`, and then finally uses | ||
`mount(MS_MOVE)` to make the deployment root appear to be the root | ||
filesystem before telling systemd to switch root. | ||
OSTree comes with optional dracut+systemd integration code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need a space between this line and the one below, otherwise it's not going to render as a list.
docs/manual/adapting-existing.md
Outdated
- set up the read-only bind mount on `/usr` | ||
- bind mount the deployment's `/sysroot` to the physical `/` | ||
- use `mount(MS_MOVE)` to make the deployment root appear to be the | ||
root filesystem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this got line wrapped?
docs/manual/adapting-existing.md
Outdated
support other initramfs technologies and init systems, if sufficiently | ||
clean, will likely be accepted upstream. | ||
possible, but you will have to write the integration code. E.g: | ||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
but you will have to write the integration code. See the existing
sources insrc/switchroot
as a reference, as well assrc/switchroot/switchroot.sh
.
(And copy the code you have to src/switchroot/switchroot.sh
)
?
This could help others who want to integrate with other init systems/initramfs. Commit-message-by: Colin Walters <[email protected]>
Thanks, I squashed these together, made a few minor tweaks, and updated the commit message. |
☀️ Test successful - status-atomicjenkins |
added example in shell